from datetime import datetime
import uuid

class Hand():
    def __init__(self, symbol, direction, buy, sell, ) -> None:
        self.id = str(uuid.uuid1())
        self.datetime = str(datetime.now())
        self.symbol = symbol
        self.direction = direction
        self.buy = buy
        self.sell = sell
        self.exist = True

    def __str__(self):
        return str(self.__dict__)
    
    def __repr__(self):
        return str(self.__dict__)
        


if __name__ == '__main__':
    Hands = [
        Hand('棉花2309', -1, 6779, 6550),
        Hand('棉花2309', -1, 6779, 6550),
    ]
